import request from "../utils/request";
//查看自己的全部预约
export const allSchedule = (userID) => {
  return request({
    url: `schedule/user/${userID}`,
    method: "get",
  });
};
//取消预约
export const deleteSchedule = (productID) => {
  return request({
    url: `schedule/cancel/${productID}`,
    method: "get",
  });
};
//新增预约
export const addSchedule = (productID) => {
  return request({
    url: `schedule/add/${productID}`,
    method: "get",
  });
};
